<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>




<script language="javascript">
	function chkOper(chk) {
		{
			var tmpInput = document.getElementsByName("shock_rate")[0];
			chk.checked ? tmpInput.disabled = false : tmpInput.disabled = true;

		}
	}

	function openwindowupload() {
		window
				.open(
						"upload.jsp",
						"newwindow",
						"height=300,width=400,top=0,left=0,toolbar=no,menubar=no,scrollbars=no, resizable=no,location=no, status=no");
	}
	function openwindowhelp() {
		window
				.open(
						"uploadhelp.html",
						"newwindow",
						"height=300,width=400,top=0,left=0,toolbar=no,menubar=no,scrollbars=no, resizable=no,location=no, status=no");
	}
</script>

<meta content="text/html; charset=UTF8" http-equiv="content-type">
<title>Start Page</title>
</head>
<body>
<form name="para" action="/market_risk/simulate.jsp" method="post">

<table style="text-align: left; width: 100%;" border="1" cellpadding="2"
	cellspacing="2">

	<tbody>
		<tr>
			<td colspan="5" rowspan="1"
				style="vertical-align: top; text-align: center;">
			<h1><span style="font-weight: bold;">Bank Risk Simulation
			Model</span></h1>
			</td>
			<td style="vertical-align: top;"><img
				style="width: 132px; height: 132px;" alt="Risk" src="bankrisk_h.png"><br>
			</td>
		</tr>
		<tr>
			<td colspan="6" rowspan="1" style="vertical-align: top;">
			<h3>Simulation Configuration <br>
			</h3>
			</td>
		</tr>
		<tr>
			<td style="vertical-align: top; font-weight: bold;"><br>
			</td>
			<td style="vertical-align: top;"><br>
			</td>
			<td style="vertical-align: top;"><br>
			</td>
			<td style="vertical-align: top;"><br>
			</td>
			<td style="vertical-align: top;"><br>
			</td>
			<td style="vertical-align: top;"><br>
			</td>
		</tr>
		<tr>
			<td style="vertical-align: top; font-weight: bold;">Section 1:
			Basic Setup<br>
			</td>
			<td style="vertical-align: top;"><br>
			</td>
			<td style="vertical-align: top; font-weight: bold;">Section 2:
			Initial Setting for Risk Scenario<br>
			</td>
			<td style="vertical-align: top;"><br>
			</td>
			<td style="vertical-align: top; font-weight: bold;">Section 3:
			Simulation Configuration<br>
			</td>
			<td style="vertical-align: top;"><br>
			</td>
		</tr>
		<tr>
			<td style="vertical-align: top; font-weight: bold;">Bank<br>
			</td>
			<td style="vertical-align: top;"><select name="Bank">
				<option value="boc">Bank of China</option>
				<option value="bea">Bank of East Asia</option>
				<option value="ccb">China Construction Bank</option>
			</select></td>
			<td style="vertical-align: top; font-weight: bold;">Foreign
			Exchange Exposure<br>
			</td>
			<td style="vertical-align: top;">&nbsp;<input name="fxexp"
				value="0"><br>
			</td>
			<td style="vertical-align: top; font-weight: bold;"><input
				checked="checked" name="shockratecheckbox" type="checkbox"
				onclick="chkOper(this)">Shock Rate<br>
			</td>
			<td style="vertical-align: top;"><input value="0.8"
				name="shock_rate" id="shock_rate"></td>
		</tr>
		<tr>
			<td style="vertical-align: top; font-weight: bold;">Country/
			Area<br>
			</td>
			<td style="vertical-align: top;"><select name="country">
				<option value="hk">Hong Kong</option>
			</select></td>
			<td style="vertical-align: top; font-weight: bold;">Interest
			Rate Exposure<br>
			</td>
			<td style="vertical-align: top;"><input name="irexp" value="0"><br>
			</td>
			<td style="vertical-align: top; font-weight: bold;">Shock
			Frequency<br>
			</td>
			<td style="vertical-align: top;">Every <input name="shockfreq"
				value="1">day<br>
			</td>
		</tr>
		<tr>
			<td style="vertical-align: top; font-weight: bold;">Number of
			Bank<br>
			</td>
			<td style="vertical-align: top;"><select name="numberofbank"
				value="3">
				<option>1</option>
				<option>2</option>
				<option>3</option>
				<option>4</option>
				<option>5</option>
			</select></td>
			<td style="vertical-align: top; font-weight: bold;">Stock
			Exposure<br>
			</td>
			<td style="vertical-align: top;"><input name="stockexp"
				value="0"><br>
			</td>
			<td style="vertical-align: top; font-weight: bold;"><br>
			</td>
			<td style="vertical-align: top;"><br>
			</td>
		</tr>
		<tr>
			<td style="vertical-align: top;">&nbsp;<br>
			</td>
			<td style="vertical-align: top;"><br>
			</td>
			<td style="vertical-align: top; font-weight: bold;">Foreign
			Currency (%): <br>
			USD/EUR/JPY/GBP/CHF</td>
			<td style="vertical-align: top;"><input name="fxusd" id="fxusd"
				size="5" value="25" type="text"><input name="fxeur"
				id="fxeur" size="5" value="25" type="text"><input
				name="fxjpy" id="fxjpy" size="5" value="25" type="text"><input
				name="fxgbp" id="fxgbp" size="5" value="25" type="text"><input
				id="fxchf" name="fxchf" size="5" value="25" type="text"></td>
			<td style="vertical-align: top; font-weight: bold;">Stock Price
			Methods</td>
			<td style="vertical-align: top;"><select name="stockprice">
				<option value="mc">Monte Carlo</option>
				<option value="capm">CAPM</option>
				<option></option>
			</select></td>
		</tr>
		<tr>
			<td style="vertical-align: top;">&nbsp;<br>
			</td>
			<td style="vertical-align: top;"><br>
			</td>
			<td style="vertical-align: top; font-weight: bold;">Interest
			Rates (%): <br>
			USD/EUR/JPY/GBP/CHF<br>
			</td>
			<td style="vertical-align: top;"><input id="irusd" name="irusd"
				size="5" value="25" type="text"><input id="ireur"
				name="ireur" size="5" value="25" type="text"><input
				id="irjpy" name="irjpy" size="5" value="25" type="text"><input
				id="irgbp" name="irgbp" size="5" value="25" type="text"><input
				id="irchf" name="irchf" size="5" value="25" type="text"></td>
			<td style="vertical-align: top; font-weight: bold;">Data Source</td>
			<td style="vertical-align: top;"><select name="datasource">
				<option>Database</option>
				<option>File System</option>
				<option></option>
			</select></td>
		</tr>
		<tr>
			<td style="vertical-align: top;">&nbsp;<br>
			</td>
			<td style="vertical-align: top;"><br>
			</td>
			<td style="vertical-align: top; font-weight: bold;">Stock (%):<br>
			DJI/HSI/FTSE 100<br>
			</td>
			<td style="vertical-align: top;"><input id="stockdji"
				name="stockdji" size="5" value="33" type="text"><input
				id="stockhsi" name="stockhsi" size="5" value="33" type="text"><input
				id="stockeur" name="stockeur" size="5" value="33" type="text"></td>
			<td style="vertical-align: top;"><a
				href="javascript:openwindowupload();" target="_blank"><span
				style="font-weight: bold;">Data Upload</span></a> <a
				href="javascript:openwindowhelp();" target="_blank">?</a><br>
			</td>
			<td style="vertical-align: top;"><br>
			</td>
		</tr>
		<tr>
			<td style="vertical-align: top;">&nbsp;<br>
			</td>
			<td style="vertical-align: top;"><br>
			</td>
			<td style="vertical-align: top; font-weight: bold;"><br>
			</td>
			<td style="vertical-align: top;"><br>
			</td>
			<td style="vertical-align: top;"><span
				style="font-weight: bold;">Output</span></td>
			<td style="vertical-align: top;">
			<table style="text-align: left; width: 100%;" border="1"
				cellpadding="2" cellspacing="2">
				<tbody>
					<tr>
						<td style="vertical-align: top;"><input
							name="totalsecurities" value="ts" checked="checked"
							type="checkbox">Total Securities<br>
						<input name="cpv" checked="checked" type="checkbox">Clearing
						Payment Value</td>
					</tr>
				</tbody>
			</table>
			</td>
		</tr>
		<tr>
			<td style="vertical-align: top;"><br>
			</td>
			<td style="vertical-align: top;"><br>
			</td>
			<td style="vertical-align: top;">
			<button name="reset" type="reset">Reset</button>
			</td>
			<td style="vertical-align: top;">
			<button value="Submit" type="submit" name="submit">Submit</button>
			<br>
			</td>
			<td style="vertical-align: top;"><br>
			</td>
			<td style="vertical-align: top;"><br>
			</td>
		</tr>
	</tbody>
</table>
</form>
<br>

<br>

</body>
</html>